import request from '@/utils/request'


/**
 * 创建/申请自提点
 * @param {}} data 
 */
export function create(data) {
    return request({
      url:'/station/create',
      method:'post',
      data:data
    })
  }

  /**
   * 获取自提点信息
   */
  export function getStation() {
    return request({
      url:'/station/getStation',
      method:'get',
    })
  }
  /**
   * 获取自提点订单
   */
  export function orderlist(params){
    return request({
        url:'/station/orderlist',
        method:'get',
        params:params
      })
  }

  